package com.candy.candyuser.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.candy.candyuser.extend.EncryptTransaction;
import com.candy.candyuser.model.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author suYanLong
 * @date 2023年02月10日 16:34
 */
public interface UserMapper extends BaseMapper<User> {

    List<User> getListByCardNo(@EncryptTransaction @Param("cardNo") String cardNo);

    List<User> getListByCardNoAndPhone(@EncryptTransaction @Param("cardNo") String cardNo,@EncryptTransaction @Param("phone") String phone);

}
